import request from '@/utils/request'

// api地址
const api = {
  pay: 'doupay/pay',
  gettoken:'doupay/gettoken',
}

// 抖音
export const pay = (data) => {
  return request.post(api.pay, data)
}
export const gettoken = (data) => {
  return request.post(api.gettoken, data)
}